/**   
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-17 14:00:30  
 * Copyright (c) 2015- -版权所有     
 */
package com.joysuch.wwyt.edu.repository;

import com.joysuch.wwyt.edu.entity.EduCourseStudyHistory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;


/**
 * EduCourseStudyHistoryDao
 *
 */
public interface EduCourseStudyHistoryDao extends JpaRepository<EduCourseStudyHistory, Long>, QuerydslPredicateExecutor<EduCourseStudyHistory>  {
    public Page<EduCourseStudyHistory> findAll(Specification<EduCourseStudyHistory> spec, Pageable pageable);

    public EduCourseStudyHistory save(EduCourseStudyHistory bean);

    public void delete(EduCourseStudyHistory bean);
}
